package com.neusoft.neuiotms.dcam.fixed.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import cn.afterturn.easypoi.handler.inter.IExcelModel;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class StockExportVO implements IExcelDataModel, IExcelModel {

    /*** 货品编号 */
    @Excel(name = "货品编号", orderNum = "0")
    private String storckNumber;

    /** 备件类型名称 */
    @Excel(name = "备件类型名称", orderNum = "1")
    private String spareTypeName;

    /** 规格型号 */
    @Excel(name = "规格型号", orderNum = "2")
    private String specification;

    /** 数量 */
    @Excel(name = "sn", orderNum = "3")
    private String sn;

    /** 存放库房 */
    @Excel(name = "存放库房", orderNum = "4")
    private String storehouseName;

    /** 单价 */
    @Excel(name = "单价", orderNum = "5", numFormat = "#,##0.00")
    private Number unitPrice;

    /** 备品备件来源 */
    @Excel(name = "备品备件来源", orderNum = "6")
    private String source;

    @Excel(name = "关联合同", orderNum = "7")
    private String contractName;

    @Excel(name = "库存状态", orderNum = "8")
    private String status;

    private int rowNum;

    private String errorMsg;

    @Override
    public Integer getRowNum() {
        return this.rowNum;
    }

    @Override
    public void setRowNum(final Integer rowNum) {
        this.rowNum = rowNum;
    }

    @Override
    public String getErrorMsg() {
        return this.errorMsg;
    }

    @Override
    public void setErrorMsg(final String errorMsg) {
        this.errorMsg = errorMsg;
    }

}
